package com.example.userdemo.service;

import com.example.userdemo.model.User;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

public interface UserService {
    Page<User> getAllUsers(Page<User> page, QueryWrapper<User> wrapper);
    User getUserById(Long id);
    User createUser(User user);
    User updateUser(User user);
    void deleteUser(Long id);
}
